package com.jy.project.ex;

import lombok.Data;

@Data
public class BizException extends  RuntimeException{

    private  String code;

    private  String value;


    public  BizException(String value){
        this.code="-1";
        this.value=value;
    }

    public  BizException(String code,String value){
        this.code=code;
        this.value=value;
    }
}
